class CreateComments < ActiveRecord::Migration
  def self.up
    create_table :comments do |t|
      t.text      :text
      t.references  :user
      t.references  :photo
      t.references  :video
      t.timestamps
    end
  end

  def self.down
    drop_table :comments
  end
end
